package com.wtb.javatool.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wtb.javatool.entity.Course;

import java.util.List;

public interface CourseService extends IService<Course> {

    //根据bandId查询
    List<Course> getCourseById(Long id);

    //根据subjectId查询
    List<Course> getCourseBySubjectId(Long subjectId);

    //更新
    int update(Course course);

    //删除帮区ID
    int deleteByBandId(Long bandId);
}
